package com.mys.maggie.redis.api.enums;

/**
 * desc: 连接redis客户端类型
 * date:2020/9/24 15:53
 */
public enum RedisClientEnum {
    REDIS_LETTUCE(0,"lettuce"),
    REDIS_JEDIS_CLUSTER(1,"jedis-cluster");

    RedisClientEnum(Integer clientType, String desc) {
        this.clientType = clientType;
        this.desc = desc;
    }

    private Integer clientType;
    private String desc;


    public Integer getClientType() {
        return clientType;
    }

    public void setClientType(Integer clientType) {
        this.clientType = clientType;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
